package com.czxy.controller;

import com.czxy.vo.SearchRequest;
import com.czxy.vo.SkuSearchRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Liuyunqin 17674029449@163.com
 * @date 2018/12/25 10:43
 */
@RestController
@RequestMapping
public class SkuSearchController {

    /**
     * 搜索请求参数
     */
    @Autowired
    private SkuSearchRequest skuSearchRequest;

    @GetMapping("search")
    public ResponseEntity<Object> findAll(SkuSearchRequest skuSearchRequest){
        System.out.println(skuSearchRequest);
        return null;
    }


}
